{template header}
<div class="bs-docs-example">
    <table class="table table-striped table-align">
        <thead>
            <tr>
                <th>排名</th>
                <th>用户昵称</th>
                <th>等级</th>
                <th>头像</th>
                <th>总里程</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            {loop $data $k $v}
            <tr>
                <td>{$v['rank']}</td>
                <td><a class="btn btn-link" href="?c=admin&a=showHistory&uid=$v['uid']" target="_blank">{$v['nickname']}</a></td>
                <td>{$v['level']}</td>
                <td>
                    <image src="{$v['header']}" width="30" height="30">
                </td>
                <td>{$v['total_mileage']}</td>
                <td><a class="btn btn-danger" href="?c=admin&a=delStd&uid=$v['uid']" target="_blank" onclick="return confirm('Are you sure?')">删除排名</a>
                </td>
            </tr>
            {/loop}
        </tbody>
    </table>
</div>
{template footer}